﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bierdopje.API
{
    /// <summary>
    /// This exception is raised if the API send a specific error
    /// </summary>
    public class EApiBierdopjeException : EApiException
    {
        private int m_ErrorCode = 0;

        public int ErrorCode
        {
            get { return m_ErrorCode; }
        }
        private string m_ErrorMessage = "";

        public string ErrorMessage
        {
            get { return m_ErrorMessage; }
        }

        public EApiBierdopjeException(int errorCode, string errorMessage)
        {
            m_ErrorCode = errorCode;
            m_ErrorMessage = errorMessage;
        }
    }
}
